package com.itcoon.transform4j.demo.web.vo;

import com.itcoon.transform.base.annotation.AssembleModel;
import com.itcoon.transform.base.annotation.AssembleModelProperty;


@AssembleModel(from=StudentVCO2.class)
public class StudentVCO3 {

    @AssembleModelProperty
    private Long sid;

    @AssembleModelProperty
    private String name;

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @AssembleModelProperty
    public Integer getAge() {
        return 18;
    }

    @Override
    public String toString() {
        return "StudentVCO3{" +
                "sid=" + sid +
                ", name='" + name + '\'' +
                '}';
    }
}
